#!/bin/bash
for j in {1..10}
  do
  echo "Submit the $j-th round of jobs"
  for i in  12 24 48 96 192 384
    do
    echo "Submit $i-hour simulation"
    ./subs $i
    if [ $i -eq 12 ]
	then
	echo "Submit the extra two 12s.pbs!"
	./subs $i
	sleep 4
	./subs $i
    fi
    sleep 4
    ./subn $i
    sleep 4
  done
done
